package com.cskaoyan.service;


import com.cskaoyan.bean.bo.WxOrderSubmitBO;
import com.cskaoyan.bean.po.MarketUser;
import com.cskaoyan.bean.vo.WXOrderListVo;
import com.cskaoyan.bean.bo.WxOrderCommentBo;
import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.vo.WxOrderGoodsVO;
import com.cskaoyan.bean.vo.WxOrderSubmitVO;


/**
 * @author zhuqiushi
 * @since 2022/09/09 21:42
 */
public interface WxOrderService {

    //获取订单表/wx/order/list
    WXOrderListVo getWXOrderList(Integer showType, Integer page, Integer limit, Integer userId);

    BaseRespVo selectMessageById(Integer orderId);

    BaseRespVo insertMessage(WxOrderCommentBo commentBo,Integer id);

    int confirm(Integer orderId);

    WxOrderGoodsVO goods(Integer orderId, Integer goodsId);

    void orderRefund(Integer orderId);

    void orderDelete(Integer orderId);

    WxOrderSubmitVO submit(WxOrderSubmitBO wxOrderSubmitBO, MarketUser user);
}
